package com.yuandian.api.business_monitor.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;

import java.io.Serializable;

/**
 * 组件总览数据vo
 *
 * @Author wangpeiyang
 * @Date 2021/5/26 14:07
 */
@Data
@HeadRowHeight(30)
public class ComponentDetailVo implements Serializable {

	private static final long serialVersionUID = -4447672375460492291L;

	/**
	 * 系统名称
	 */
	@ExcelIgnore
	private String systemName;
	/**
	 * 网端名称
	 */
	private String segmentName;

	/**
	 * 组件Ip
	 */
	private String componentIp;

	/**
	 * 请求量
	 */
	private Integer reqCount;

	/**
	 * 平均响应时长
	 */
	@ExcelIgnore
	private Integer serverAvgResponseTime;

	private String serverAvgResponseTimeStr;
	/**
	 * 平均处理时长
	 */
	@ExcelIgnore
	private Integer avgDealTime;

	private String avgDealTimeStr;


	/**
	 * 平均传输耗时
	 */
	@ExcelIgnore
	private Integer serverAvgTranslateTime;

	private String serverAvgTranslateTimeStr;

	/**
	 * 告警请求量
	 */
	private Integer alarmReqCount;

	/**
	 * 失败请求量
	 */
	private Integer failReqCount;

	/**
	 * 成功率
	 */
	@ExcelIgnore
	private Double successRate;

	private String successRateStr;
	/**
	 * 健康度
	 */
	@ExcelIgnore
	private Double healthRate;

	private String healthRateStr;
}
